﻿using ProTrack.Dto;
using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.PurchaseOrder
{
    public  interface IWareHouseInboundBillServices
    {
        public Task<IEnumerable<WareHouseInboundBill>>GetAllAsync();
        public Task<IEnumerable<WareHouseInboundBill>> GetAsync(int PageIndex, int PageSize,string Number,string VendorId,string WareHouseId, int Status = -1);
        public Task<int> GetCountAsync(string Number, string VendorId, string WareHouseId, int Status = -1);
        public Task<IEnumerable<WareHouseInboundBillItemDto>> GetWareHouseInboundBillIdAsync(string WareHouseInboundBillId);

        public Task<bool> UpdateAsync(WareHouseInboundBill model, List<WareHouseInboundBillItem> list);

        public Task<bool> AddAsync(WareHouseInboundBill model, List<WareHouseInboundBillItem> list);

        public  Task<IEnumerable<WareHouseInboundBillItemDto>> GetOrderPoByItem(string OrderPoId);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> UpdateWareHouseInboundBillStatus(long  Id, int Status);






    }
}
